home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 571 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  685 b 

  1. Path: news.nodak.edu!badlands!dhill
  2. From: dhill@badlands.NoDak.edu (Dale A Hill)
  3. Newsgroups: comp.lang.c++
  4. Subject: Reading string from text file
  5. Date: 5 Jan 1996 05:47:45 GMT
  6. Organization: North Dakota Higher Eduation Network
  7. Message-ID: <4cie21$8vk@daily-planet.nodak.edu>
  8. NNTP-Posting-Host: badlands.nodak.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=US-ASCII
  11. Content-Transfer-Encoding: 7bit
  12.  
  13. Looking for code sample that searches a text file line by line, searches for 
  14. a particular text string on each line...if it finds it, marks its 
  15. location and extracts (reads) all data from beginning of line to the 
  16. search string -1.  Any help would be greatly appreciated.
  17.  
  18. SIG
  19.